<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>

<body>
    <script>

/* 
const  +   let    +  var
扩展运算符=======[...arr]   {...obj}
模板字符串=======` `
解构赋值====
Promise
class

async  await  ======es7  

*/
        function Say(name,func) {
            this.name = name,
            this.func=func
        }

        var a1 = new Say('jack',function(){
            return 1
        })


        console.log(a1.name);
        console.log(a1);

        class  Say2 {
            static qq='1111'
        }
        console.log(Say2.qq);
        


    </script>
</body>

</html>